import instance from '../utils/request'

/* eslint-disable */
const searchArticles = ({ q, page, per_page }) => {
  return instance({
    url: '/v1_0/search',
    method: 'get',
    params: {
      q,
      page,
      per_page
    }
  })
}

// 暴露
export { searchArticles }
